<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Float布局-基本使用</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        li{
            list-style: none;
        }

        .product{
            margin: 50px auto;
            width: 1226px;
            height: 628px;
            background-color: pink;
        }

        .pd-left{
            width: 234px;
            height: 628px;
            background-color: skyblue;
            float: left;
        }

        .pd-right{
            width: 978px;
            height: 628px;
            background-color: red;
            float: right;
        }

        .pd-right li{
            width: 234px;
            height: 300px;
            background-color: orange;

            float: left;
            margin-right: 14px;
            margin-bottom: 14px;
        }

        .pd-right li:nth-child(4n){
            margin: 0px;
        }












    </style>
    











</head>
<body>
    <div class="product">


        <div class="pd-left">

        </div>


        <div class="pd-right">
            <ul>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>











    </div>
















    
</body>
</html>